package com.serve.oa.service;

import cn.hutool.core.lang.tree.Tree;
import com.serve.oa.entity.SysRole;
import com.serve.oa.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.messaging.handler.annotation.Payload;

import java.util.HashSet;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author __tyw
 * @since 2022-10-18
 */
public interface SysUserService extends IService<SysUser> {


    String getTime(String id);

    Map myMenu(Long id);
    HashSet<String> getPerm(String userName);


    List<Map> listAll();

    List<SysUser> chaList();





    void dx(String s) throws InterruptedException;

    void emalis(String s) throws InterruptedException;

    List<Map> dsd();

    void sendMsg(String msg);

    void startSeckillInit();

    boolean qd();

}
